<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>준법지원 시스템 운영안내</title>
<style>
html, body, div, dl, dt, dd,img {
  margin: 0;
  padding: 0;
  border: 0;}
#wrap{position:relative; float:left; width:280px; height:400px; }
.header{position:relative; float:left; width:300px; height:400px;  }
.check{display:block; position:relative; float:left; width:330px; height:110px; background:#000; text-align:right; padding: 5px 20px;}
</style>

<Script Language ="JavaScript">
// 쿠키 설정
function setCookie( name, value, expiredays ){
 var today = new Date();
 today.setDate( today.getDate() + expiredays );
 document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + today.toGMTString() + ";"
}
// 쿠키값 구하기
function getCookie( name ) { 
 var nameOfCookie = name + "="; 
 var x = 0; 
 while ( x <= document.cookie.length ) 
 { 
   var y = (x+nameOfCookie.length); 
   if ( document.cookie.substring( x, y ) == nameOfCookie ) { 
     if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) 
       endOfCookie = document.cookie.length; 
     return unescape( document.cookie.substring( y, endOfCookie ) ); 
   } 
   x = document.cookie.indexOf( " ", x ) + 1; 
   if ( x == 0 ) 
     break; 
 } 
 return ""; 
} 

// 팝업창 닫기
function closeWin() { 
//alert('1');
 if ( document.myform.close.checked ){  // 폼네임 myform 은 동일해야 합니다.
 //alert('2');
setCookie("hcom_pop_121203", "done" , 1);   // 부모창에서 지정한 쿠키네임과 일치 해야 합니다. 1 이 하루를 의미 
}
top.close();
}
</script>


<script type="text/javascript">

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

</script>
</head>    


<body leftmargin="0" topmargin="0">
<form name="myform">
  <div id="wrap">
    <dl>
      <dd class="header"><img src="pop_20121203.jpg"  alt="준법지원 시스템 운영안내"/></dd>
      <dd class="check"><input name="close" type="checkbox" onClick="javascript:closeWin();"/><img src="windowclose.gif"/><a href="javascript:parent.close();"><img src="close.gif" width="13" height="12" alt="닫기"  title="닫기" /></a></dd>
      </dl>
    </div>
</form>
</body>
</html>
